//
//  FFImageView.m
//  KeChuangManage
//
//  Created by shang on 2016/11/29.
//  Copyright © 2016年 shang. All rights reserved.
//

#import "FFImageView.h"
#import <UIImageView+WebCache.h>

@implementation FFImageView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (void)ffImageWithUrl:(NSString *)imgUrlStr placeholderImageName:(NSString *)placeholderImageName
{
     [self sd_setImageWithURL:[NSURL URLWithString:imgUrlStr] placeholderImage:[UIImage imageNamed:placeholderImageName]];
    
}

@end
